package com.wbapp.common.jni;

public class RtspJNI {
    static {
        System.loadLibrary("rtsp_jni");
    }
    
    private static RtspJNI instance;
    public static RtspJNI getInstance() {
        if (instance==null) instance = new RtspJNI();
        return instance;
    }

    public native void rtspInit();

    public native boolean rtspSentAvData(byte[] data, int len, int pt, long ms);

    public native int rtspGetMethod();
}
